/**
 * 로그인/로그아웃 처리
 */
function titleInit()
{
	var btnLogin;
	var btnLogout;
	
	btnLogin = document.getElementById('btnLogin');
	btnLogout = document.getElementById('btnLogout');
	
	if(btnLogin != null)
	{
		btnLogin.onclick=function()
		{
			var f = document.frm;
			if(f.mid.value == '' || f.pwd.value == '')
			{
				alert('아이디와 암호를 입력해라.');
			}
			else
			{
				f.submit();
			}
		}
	}
	if(btnLogout != null)
	{
		btnLogout.onclick=function()
		{
			location.href='./member/logout.jsp';
		}
	}
}